Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

198
Vistas
How to pass the entire string with the " " character in it

I'm passing some query parameters to an html page. One of these is the title where in some of these there are words with " " characters.

What I notice is that when it reaches the superscript (" ") the title is truncated.

That is, if for example I have the following title:

Chaleco López inaugurates the museum of "him"

the title parameter will be equal to: Chaleco López inaugurates the museum of (so it is incomplete because "him" is missing).

The code that does this is as follows:

var url_string = window.location.href;
var url2 = new URL(url_string);
var titolo_url = url2.searchParams.get("title");
console.log(title_url)
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Maybe try to use these brackets '' in your title

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda